aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice/[id]/+page.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/invoice/[id]/+page.svelte')
-rw-r--r--src/routes/(app)/invoice/[id]/+page.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte
index 5eadb179..db491c66 100644
--- a/src/routes/(app)/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/+page.svelte
@@ -22,7 +22,7 @@
prompt,
text,
tip,
- user: { username, currency, uuid }
+ user: { username, currency }
} = invoice;
let showQr = !amount;
@@ -43,7 +43,7 @@
prompt,
text,
tip,
- user: { username, currency, uuid }
+ user: { username, currency }
} = invoice);
tipPercent = (tip / amount) * 100;
@@ -108,7 +108,7 @@
>
{#if user && user.username !== username}
- <a href={`/send/${invoice.uuid}`}>
+ <a href={`/send/${invoice.id}`}>
<button class="flex rounded-full border py-2 px-5 font-bold hover:opacity-80">
<Icon icon="send" style="mr-1" />
<div class="my-auto">Pay</div>